class UserMailer < ActionMailer::Base
   
  def welcome_email(user)
    @user = user
    @url  = "http://localhost:3000/login"
    mail(:to => user.email, :subject => "Welcome to My Awesome Site", :from => "gobetweenersteam@gmail.com")
  end
  
  def forgot_password(user)
	@user = user
	@url  = "http://localhost:3000/login"
    mail(:to => @user.email, :subject => "New password", :from => "gobetweenersteam@gmail.com")
  end
  
end